package com.example.ruiji.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.ruiji.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * Author:BaiYiChen
 * Date:2022/4/19 17:19
 *
 * @author BaiYiChen
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
  User findUserById(@Param("authorId") Integer id);
}
